﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WebCam.Data.WebCamWorker
{
    public class WorkerComletedEventArgs
    {
        private Bitmap bmp;
        public WorkerComletedEventArgs(Bitmap bmp)
        {
            this.bmp = bmp;
        }
        public Bitmap Bitmap { get { return bmp; } }
    }

    public delegate void WorkerComplete(object sender, WorkerComletedEventArgs args);

    public interface IWorker
    {
        void ProcessBitmap(Bitmap image);
        event WorkerComplete OnWorkerComplete;
    }
}
